import java.net.InetAddress;
import java.net.UnknownHostException;

public class InterAdress {
    public static void main(String[] args) {
        InetAddress interAdress= null;
        try {
            interAdress = InetAddress.getLocalHost();
        } catch (UnknownHostException e) {
            e.printStackTrace();
        }
        System.out.println(interAdress);
    }
}
